package cn.samler.shopapi.Model.Response.Order;

import cn.samler.shopapi.Model.Response.Goods.GoodsBrief;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderBrief {
    private String id;

    @JsonProperty("goods_list")
    private List<GoodsBrief> goodsList;

    private Double money;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    private String remark;

    private Integer status;
}
